﻿#parse("_header.html")
	<!-- content-wrap starts -->
	<div id="content-wrap">
			#parse("_sidebar.html")	
		<div id="main">
				
			<!--<a name="TemplateInfo">TemplateInfo</a>-->
			
            #foreach($item in $posts) <!--遍历普通文章-->


            <h1><a href="$base.Url("/Post.aspx?id=${item.ID}")">${item.title}</a></h1>
				
            <div class="post-content">
            $!{item.Summary}
            <p>
                <a href="$base.Url("/Post.aspx?id=${item.ID}")">详情...</a>
            </p>
          </div>
				
			<p class="post-footer">		
			<a href="$base.Url("/Post.aspx?id=${item.ID}")" class="readmore">Read more</a> |
			<a href="$base.Url("/Post.aspx?id=${item.ID}")#comments" class="comments">评论($item.commentcount)</a> |	
            <a>浏览($item.viewcount)</a> |
			<span class="date">$item.createdate.tostring("yyyy-MM-dd")</span>	
			</p>
			
         #end
    #if($posts.count==0)
    <div class="post">
        <p>暂无对应文章</p>
    </div>
    #end
		<!-- main ends -->	
		</div>
	<!-- content-wrap ends-->	
	</div>
#parse("_footer.html")